package zp_member_res_v1

import "context"
import "github.com/gogf/gf/v2/encoding/gjson"
import "github.com/gogf/gf/v2/frame/g"/*
s.Group("/", func(group *ghttp.RouterGroup) {
	group.Group("/", func(group *ghttp.RouterGroup) {
		group.Bind(controller.ZpMemberResV1Controller)
	})
})
*/
var ZpMemberResV1Controller = cZpMemberResV1Controller{}
type cZpMemberResV1Controller struct{}
type GetMemberResumeEducateListReq struct {
	g.Meta `path:"zp_member_res_v1/getMemberResumeEducateList" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_member_res_v1/getMemberResumeEducateList"`
}
type ZpMemberResV1List struct {
DrvingText	string	`json:"drving_text"`
Id	float64	`json:"id"`
Name	string	`json:"name"`
Drving	float64	`json:"drving"`
StartTime	float64	`json:"start_time"`
UpText	string	`json:"up_text"`
Profession	string	`json:"profession"`
UpTime	float64	`json:"up_time"`
StartText	string	`json:"start_text"`
}

type GetMemberResumeEducateListRes struct {
[]ZpMemberResV1List}

func (a *cZpMemberResV1Controller) GetMemberResumeEducateListAction(ctx context.Context, req *GetMemberResumeEducateListReq) (res *GetMemberResumeEducateListRes, err error) {
	res = &GetMemberResumeEducateListRes{}
	data:=`[{"drving":6,"drving_text":"本科","id":804,"name":"大学","profession":"物理","start_text":"2018-11-24","start_time":1542988800,"up_text":"2023-11-24","up_time":1700755200}]`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type GetMemberResumeExperienceListReq struct {
	g.Meta `path:"zp_member_res_v1/getMemberResumeExperienceList" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_member_res_v1/getMemberResumeExperienceList"`
}
type ZpMemberResV1List struct {
Id	float64	`json:"id"`
Company	string	`json:"company"`
Position	string	`json:"position"`
StartTime	float64	`json:"start_time"`
UpTime	float64	`json:"up_time"`
IsToday	string	`json:"is_today"`
Txt	string	`json:"txt"`
StartTimeText	string	`json:"start_time_text"`
}

type GetMemberResumeExperienceListRes struct {
[]ZpMemberResV1List}

func (a *cZpMemberResV1Controller) GetMemberResumeExperienceListAction(ctx context.Context, req *GetMemberResumeExperienceListReq) (res *GetMemberResumeExperienceListRes, err error) {
	res = &GetMemberResumeExperienceListRes{}
	data:=`[{"company":"清台","id":1157,"is_today":"1","position":"工程","start_time":1669219200,"start_time_text":"2022-11-24","txt":"呼呼","up_time":0}]`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type GetMemberResumeInfoReq struct {
	g.Meta `path:"zp_member_res_v1/getMemberResumeInfo" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_member_res_v1/getMemberResumeInfo"`
}
type GetMemberResumeInfoRes struct {
TypeIds	string	`json:"type_ids"`
SalaryMax	float64	`json:"salary_max"`
Type	string	`json:"type"`
IsHide	string	`json:"is_hide"`
WorkState	string	`json:"work_state"`
DateDate	string	`json:"date_date"`
Name	string	`json:"name"`
Date	float64	`json:"date"`
Txt	string	`json:"txt"`
SalaryId	float64	`json:"salary_id"`
State	string	`json:"state"`
IsEdit	string	`json:"is_edit"`
DrvingText	string	`json:"drving_text"`
AreasText	string	`json:"areas_text"`
Complete	float64	`json:"complete"`
MemberId	float64	`json:"member_id"`
Phone	string	`json:"phone"`
SalaryMin	float64	`json:"salary_min"`
AgeText	string	`json:"age_text"`
Head	string	`json:"head"`
Gender	string	`json:"gender"`
DateText	float64	`json:"date_text"`
AreasTextP	string	`json:"areas_text_p"`
IsSingle	string	`json:"is_single"`
IsDef	string	`json:"is_def"`
DefDetail	string	`json:"def_detail"`
TypeText	[]string	`json:"type_text"`
AreasPid	float64	`json:"areas_pid"`
AreasId	float64	`json:"areas_id"`
IsClosure	string	`json:"is_closure"`
Salary	string	`json:"salary"`
Drving	float64	`json:"drving"`
Age	float64	`json:"age"`
}

func (a *cZpMemberResV1Controller) GetMemberResumeInfoAction(ctx context.Context, req *GetMemberResumeInfoReq) (res *GetMemberResumeInfoRes, err error) {
	res = &GetMemberResumeInfoRes{}
	data:=`{"age":2,"age_text":"1年以内","areas_id":9,"areas_pid":1,"areas_text":"鱼台城区","areas_text_p":"鱼台县","complete":3,"date":974995200,"date_date":"2000-11-24","date_text":24,"def_detail":null,"drving":6,"drving_text":"本科","gender":"1","head":"https://mp.wanhedashuju.com/uploads/20220511/d38a4560af961cb3dd30dd463d6ce3e5.png","is_closure":"0","is_def":"0","is_edit":"1","is_hide":"0","is_single":null,"member_id":8844,"name":"李明","phone":"13720984421","salary":"1000-2000/月","salary_id":0,"salary_max":2,"salary_min":1,"state":"1","txt":"虎虎","type":"1","type_ids":"74","type_text":["物业管理"],"work_state":null}`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type EditMemberResumeReq struct {
	g.Meta `path:"zp_member_res_v1/editMemberResume" method:"POST" summary:""`
	IsClosure string `json:"is_closure" dc:"0"`
	AreasText string `json:"areas_text" dc:"鱼台城区"`
	Any string `json:"any" dc:"zp_member_res_v1/editMemberResume"`
	Edit string `json:"edit" dc:"grzl"`
	IsDef string `json:"is_def" dc:"0"`
	AreasTextP string `json:"areas_text_p" dc:"鱼台县"`
	IsHide string `json:"is_hide" dc:"0"`
	Type string `json:"type" dc:"1"`
	SalaryId string `json:"salary_id" dc:"0"`
	IsSingle string `json:"is_single" dc:""`
	DateDate string `json:"date_date" dc:"2000-11-24"`
	DrvingText string `json:"drving_text" dc:"本科"`
	Gender string `json:"gender" dc:"1"`
	DateText string `json:"date_text" dc:"24"`
	State string `json:"state" dc:"1"`
	Age string `json:"age" dc:"2"`
	SalaryMax string `json:"salary_max" dc:"2"`
	Date string `json:"date" dc:"2000-11-24"`
	TypeIds string `json:"type_ids" dc:"74"`
	Drving string `json:"drving" dc:"6"`
	IsEdit string `json:"is_edit" dc:"1"`
	Txt string `json:"txt" dc:"虎虎"`
	AreasId string `json:"areas_id" dc:"9"`
	TypeText string `json:"type_text" dc:"["物业管理"]"`
	MemberId string `json:"member_id" dc:"8844"`
	WorkState string `json:"work_state" dc:""`
	AgeText string `json:"age_text" dc:"1年以内"`
	SalaryMin string `json:"salary_min" dc:"1"`
	Salary string `json:"salary" dc:"1000-2000/月"`
	Name string `json:"name" dc:"李明"`
	DefDetail string `json:"def_detail" dc:""`
	Phone string `json:"phone" dc:"13720984421"`
	AreasPid string `json:"areas_pid" dc:"1"`
	Head string `json:"head" dc:"https://mp.wanhedashuju.com/uploads/20220511/d38a4560af961cb3dd30dd463d6ce3e5.png"`
	Complete string `json:"complete" dc:"3"`
}
type EditMemberResumeRes struct {
Msg	string	`json:"msg"`
}

func (a *cZpMemberResV1Controller) EditMemberResumeAction(ctx context.Context, req *EditMemberResumeReq) (res *EditMemberResumeRes, err error) {
	res = &EditMemberResumeRes{}
	data:=`{"msg":""}`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type ShieldListReq struct {
	g.Meta `path:"zp_member_res_v1/shieldList" method:"POST" summary:""`
	Any string `json:"any" dc:"zp_member_res_v1/shieldList"`
}
type ShieldListRes struct {
}

func (a *cZpMemberResV1Controller) ShieldListAction(ctx context.Context, req *ShieldListReq) (res *ShieldListRes, err error) {
	res = &ShieldListRes{}
	data:=`[]`
	js:=gjson.New(data)
	js.Scan(&res)
	return
}
type EditMemberResumeExperienceReq struct {
	g.Meta `path:"zp_member_res_v1/editMemberResumeExperience" method:"POST" summary:""`
	TypeText string `json:"type_text" dc:""`
	ImageList string `json:"image_list" dc:"[]"`
	StartTime string `json:"start_time" dc:"2022-11-24"`
	Company string `json:"company" dc:"清台"`
	TypeIds string `json:"type_ids" dc:""`
	Id string `json:"id" dc:"1157"`
	IsToday string `json:"is_today" dc:"true"`
	Any string `json:"any" dc:"zp_member_res_v1/editMemberResumeExperience"`
	Txt string `json:"txt" dc:"呼呼"`
	Position string `json:"position" dc:"工程"`
}
type EditMemberResumeExperienceRes struct {
}

func (a *cZpMemberResV1Controller) EditMemberResumeExperienceAction(ctx context.Context, req *EditMemberResumeExperienceReq) (res *EditMemberResumeExperienceRes, err error) {
	res = &EditMemberResumeExperienceRes{}
	data:=``
	js:=gjson.New(data)
	js.Scan(&res)
	return
}